package com.jf.yytgd.entity.dto.scienceArticle;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * Created with IntelliJ IDEA
 * Description: 科普文章DTO
 * User:22954
 * Date:2025-02-06
 * Time:13:54
 */
@Data
public class ScienceArticleFullDTO {
    private Integer id;
    private String title;
    private String author;
    private String text;
    @JsonFormat(pattern = "YYYY.M.D")
    private LocalDateTime publishAt;
    private Integer likes;
    private Integer views;
}
